package com.book.mapper;


import com.entity.Book;
import com.entity.BookVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface BookMapper {

    public int selectcount(BookVo vo);

    public List<Book> getBookList(BookVo vo);

    public int addBook(Book book);

    public int updatebook(Book book);

    public int updatebookImg(Book book);


    public int lendBook(int[] id);

    public int deleteBook(int[] ids);

}
